<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Include/gzll/nrf_gzll.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>



<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF Gazell
   &#160;<span id="projectnumber">version 0.4.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('nrf__gzll_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">Include/gzll/nrf_gzll.h File Reference</div>  </div>
</div>
<div class="contents">

<p>Gazell Link Layer API.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;stdbool.h&quot;</code><br/>
<code>#include &quot;nrf.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="nrf__gzll__constants_8h_source.html">nrf_gzll_constants.h</a>&quot;</code><br/>
</div>
<p><a href="nrf__gzll_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure containing information about the last packet transmission.  <a href="structnrf__gzll__device__tx__info__t.html#details">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structnrf__gzll__host__rx__info__t.html">nrf_gzll_host_rx_info_t</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data structure containing information about the last packet received.  <a href="structnrf__gzll__host__rx__info__t.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> { <a class="el" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaaf43e2f82283221e9ecacaca178934e47">NRF_GZLL_MODE_DEVICE</a>, 
<a class="el" href="group__gzll__02__api.html#gga2321f5573e2cd70651559e6380433edaa9f1389775c6d9e971b3bf299e2d8f4bd">NRF_GZLL_MODE_HOST</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting Gazell mode.  <a href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a> { <a class="el" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca7ac745d687a1dc56962bed8a98ba719f">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_SUCCESSFUL</a>, 
<a class="el" href="group__gzll__02__api.html#ggad45683bddfd8a170f89280b722f7744ca97b439d85d2666cb9676c45f0db57a55">NRF_GZLL_DEVICE_CHANNEL_SELECTION_POLICY_USE_CURRENT</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting Gazell Device channel selection policy.  <a href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a> { <br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da3eab1d41cecc3cc7ba907c4ac7f27699">NRF_GZLL_TX_POWER_4_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da6925d58d3c9fa86f79d475976818c318">NRF_GZLL_TX_POWER_0_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851dafef1f0ca63fb9be78fe017c65a914eb4">NRF_GZLL_TX_POWER_N4_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da0e59e0dac9763f57f4ed7080750c09f8">NRF_GZLL_TX_POWER_N8_DBM</a>, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9f9f798b37a40421751e81f3b6f8823c">NRF_GZLL_TX_POWER_N12_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da9e5d236d4715d34ee730727b5babb149">NRF_GZLL_TX_POWER_N16_DBM</a>, 
<a class="el" href="group__gzll__02__api.html#gga838445eeb3dabb47b746708bf4cf851da35ef035819220255bfc7f87f4eafd797">NRF_GZLL_TX_POWER_N20_DBM</a>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting the transmit (TX) power.  <a href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a> { <a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aab5c82f8676fea3d65782748a7be344f5">NRF_GZLL_DATARATE_250KBIT</a>, 
<a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa246aa294dc264af2beeadae662e0aa24">NRF_GZLL_DATARATE_1MBIT</a>, 
<a class="el" href="group__gzll__02__api.html#ggabb5224046a930344cc3f5586bf9b064aa34b5649392e2948bbb7f284927781883">NRF_GZLL_DATARATE_2MBIT</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for selecting the radio datarate.  <a href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">More...</a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a> { <br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abace4bbba0d262295c16f3156ae0c9907b">NRF_GZLL_ERROR_CODE_NO_ERROR</a> =  0, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba30549d446599d7530e14ea19b5ce99e2">NRF_GZLL_ERROR_CODE_FAILED_TO_INITIALIZE</a> =  1, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b15f5f975ef14b5191e5262ef94f93d">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_CONFIGURE_WHEN_ENABLED</a> =  2, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaded91da689711dd5a654cf81fc18d835">NRF_GZLL_ERROR_CODE_POINTER_IS_NULL</a> =  3, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac4918d5a5f1f69278c4009143b18f1bc">NRF_GZLL_ERROR_CODE_INVALID_PIPE</a> =  4, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba380b30b67d0ba401d7472ea3974b2af6">NRF_GZLL_ERROR_CODE_INVALID_MODE</a> =  5, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba9da1b5f94da0fa0e3c64b52feac8ad77">NRF_GZLL_ERROR_CODE_INVALID_PAYLOAD_LENGTH</a> =  6, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abac830d264d08837ad86b5be4167b52463">NRF_GZLL_ERROR_CODE_INVALID_CHANNEL_TABLE_SIZE</a> =  7, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba8d2a830e8e47d991cca27738eafc8606">NRF_GZLL_ERROR_CODE_INSUFFICIENT_PACKETS_AVAILABLE</a> =  8, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaa3ccbb11bd73955faf2d7355bcb1168f">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_ADD_TO_FULL_FIFO</a> =  9, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba49865c493f4c9896945c3fa2a6175895">NRF_GZLL_ERROR_CODE_NO_SPACE_IN_RX_FIFO_FOR_ACK</a> =  10, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356ababc0c04d564d90f4216797e7816e9e68b">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FETCH_FROM_EMPTY_FIFO</a> =  11, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abacffaff5d6b7b811215ddafc76ee9ea84">NRF_GZLL_ERROR_CODE_ATTEMPTED_TO_FLUSH_WHEN_ENABLED</a> =  12, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abaf3b942aca16291c78ebc00b7d80cbbf4">NRF_GZLL_ERROR_CODE_INVALID_PARAMETER</a> =  14, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba0653cf03943e6223a42945e8db7d9870">NRF_GZLL_ERROR_CODE_INTERNAL_ASSERT_OCCURRED</a> =  15, 
<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356aba2b0ac52c845b024691fa0a3b483651fb">NRF_GZLL_ERROR_CODE_CALLBACK_NOT_IMPLEMENTED</a> =  16, 
<br/>
&#160;&#160;<a class="el" href="group__gzll__02__api.html#ggaa51ebe606da1801bb1ce72b2257356abad28c8f662a56566e788968242195ae43">NRF_GZLL_ERROR_CODE_NUMBER_OF_ERROR_CODES</a> =  17
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enumerator used for error codes for Gazell API functions.  <a href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">General API functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gacba07d9c893b4673c563ced97cccba94">nrf_gzll_init</a> (<a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Gazell.  <a href="group__gzll__02__api.html#gacba07d9c893b4673c563ced97cccba94"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gadfb1003b245b019481334e6d087f928e">nrf_gzll_enable</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Enable Gazell.  <a href="group__gzll__02__api.html#gadfb1003b245b019481334e6d087f928e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga20e0e3ca35dda6b9220b1ddce7565687">nrf_gzll_disable</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable Gazell.  <a href="group__gzll__02__api.html#ga20e0e3ca35dda6b9220b1ddce7565687"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab292792f57b5b3d663c141ca3bb08f2f">nrf_gzll_is_enabled</a> (void)</td></tr>
<tr><td colspan="2"><div class="groupHeader">Device mode callback functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac1306762dc2ccfc5c2bbdbe2d85a93aa">nrf_gzll_device_tx_success</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a> tx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ACK received callback (Device mode only).  <a href="group__gzll__02__api.html#gac1306762dc2ccfc5c2bbdbe2d85a93aa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga0642fed399ed3ec41406cd4323edf5ad">nrf_gzll_device_tx_failed</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__device__tx__info__t.html">nrf_gzll_device_tx_info_t</a> tx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Transmission failed callback (Device mode only).  <a href="group__gzll__02__api.html#ga0642fed399ed3ec41406cd4323edf5ad"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Host mode callback functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga116b8ce684c3f6fe8c63c371b913aa3e">nrf_gzll_host_rx_data_ready</a> (uint32_t pipe, <a class="el" href="structnrf__gzll__host__rx__info__t.html">nrf_gzll_host_rx_info_t</a> rx_info)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Data packet received callback (Host mode only).  <a href="group__gzll__02__api.html#ga116b8ce684c3f6fe8c63c371b913aa3e"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Callback functions for both Device and Host mode</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga722e2ee917072fca60a50a23d8c84414">nrf_gzll_disabled</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Disabled callback.  <a href="group__gzll__02__api.html#ga722e2ee917072fca60a50a23d8c84414"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Packet transmission and receiving functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1c0b1d1838e032af28c35d7c3e0603e0">nrf_gzll_add_packet_to_tx_fifo</a> (uint32_t pipe, uint8_t *payload, uint32_t length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a packet to the tail of the TX FIFO.  <a href="group__gzll__02__api.html#ga1c0b1d1838e032af28c35d7c3e0603e0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga419c8ce6a3e08d5dec8b50ef88b3cc2b">nrf_gzll_fetch_packet_from_rx_fifo</a> (uint32_t pipe, uint8_t *payload, uint32_t *length)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Fetch a packet from the head of the RX FIFO.  <a href="group__gzll__02__api.html#ga419c8ce6a3e08d5dec8b50ef88b3cc2b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaad1e741b39d5eea07f64538d38848071">nrf_gzll_get_tx_fifo_packet_count</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of packets in the TX FIFO on a specific pipe.  <a href="group__gzll__02__api.html#gaad1e741b39d5eea07f64538d38848071"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gade39485ec6ab77188c1798c76e564c28">nrf_gzll_get_rx_fifo_packet_count</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the number of packets in the RX FIFO on a specific pipe.  <a href="group__gzll__02__api.html#gade39485ec6ab77188c1798c76e564c28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga7243f6f81a93686cfc48623c37695dcc">nrf_gzll_get_total_allocated_packet_count</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the total number of packets residing in all TX and RX FIFOs.  <a href="group__gzll__02__api.html#ga7243f6f81a93686cfc48623c37695dcc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6c3f739115d7087f2cb0db11e7af54c8">nrf_gzll_ok_to_add_packet_to_tx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if adding a packet to a pipe's TX FIFO should be successful.  <a href="group__gzll__02__api.html#ga6c3f739115d7087f2cb0db11e7af54c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga84321e0115f0b19f1c9c75c3a1b818bc">nrf_gzll_flush_tx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush the RX FIFO for a specific pipe.  <a href="group__gzll__02__api.html#ga84321e0115f0b19f1c9c75c3a1b818bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf28a21bdbcc64b12e1c84f95f2371603">nrf_gzll_flush_rx_fifo</a> (uint32_t pipe)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Flush the RX FIFO for a specific pipe.  <a href="group__gzll__02__api.html#gaf28a21bdbcc64b12e1c84f95f2371603"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Configuration functions</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Configuration 'set' functions may only be called while Gazell is disabled. The new parameter comes into effect when Gazell is enabled again.</p>
<p>Configuration 'get' functions may be called at any time. </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592">nrf_gzll_set_mode</a> (<a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a> mode)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the mode.  <a href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#ga2321f5573e2cd70651559e6380433eda">nrf_gzll_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaeffe498ba9c2aed68eb2c516eff61574">nrf_gzll_get_mode</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaac5d6bc55829dc0cecc0eaf4889f8592" title="Set the mode.">nrf_gzll_set_mode()</a>.  <a href="group__gzll__02__api.html#gaeffe498ba9c2aed68eb2c516eff61574"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d">nrf_gzll_set_base_address_0</a> (uint32_t base_address)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the base address for pipe 0.  <a href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaaf2d35d57c38533a2f993f6d6bbf7e88">nrf_gzll_get_base_address_0</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gada5d1b9ca90be29ebc600a977cb1ba2d" title="Set the base address for pipe 0.">nrf_gzll_set_base_address_0()</a>.  <a href="group__gzll__02__api.html#gaaf2d35d57c38533a2f993f6d6bbf7e88"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08">nrf_gzll_set_base_address_1</a> (uint32_t base_address)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the base address for pipes 1-7.  <a href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga3b5d543cc896193e1fe6d7eeffeba6b3">nrf_gzll_get_base_address_1</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gafae33f3818b7c9a64d368352e7218a08" title="Set the base address for pipes 1-7.">nrf_gzll_set_base_address_1()</a>.  <a href="group__gzll__02__api.html#ga3b5d543cc896193e1fe6d7eeffeba6b3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14">nrf_gzll_set_address_prefix_byte</a> (uint32_t pipe, uint8_t address_prefix_byte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the address prefix byte for a specific pipe.  <a href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga0af9242850d7e512721f941fe12bd6bc">nrf_gzll_get_address_prefix_byte</a> (uint32_t pipe, uint8_t *out_address_prefix_byte)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8ddb9c88340dfa0dd26a49f5a233bc14" title="Set the address prefix byte for a specific pipe.">nrf_gzll_set_address_prefix_byte()</a>.  <a href="group__gzll__02__api.html#ga0af9242850d7e512721f941fe12bd6bc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77">nrf_gzll_set_rx_pipes_enabled</a> (uint32_t pipes)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set which pipes shall listen for packets in Host mode.  <a href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac3b61acd9649d1bf7fe951176b6b6750">nrf_gzll_get_rx_pipes_enabled</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga7c41a4d1c773221ad106ebc67832da77" title="Set which pipes shall listen for packets in Host mode.">nrf_gzll_set_rx_pipes_enabled()</a>.  <a href="group__gzll__02__api.html#gac3b61acd9649d1bf7fe951176b6b6750"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga3347094a64c07793c773c4fdf4bc4bff">nrf_gzll_set_timeslot_period</a> (uint32_t period_us)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the timeslot period.  <a href="group__gzll__02__api.html#ga3347094a64c07793c773c4fdf4bc4bff"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2">nrf_gzll_get_timeslot_period</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2" title="Get function counterpart to nrf_gzll_get_timeslot_period().">nrf_gzll_get_timeslot_period()</a>.  <a href="group__gzll__02__api.html#ga4fa5dc9ec5f9686ce38fffbb2eded3e2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911">nrf_gzll_set_device_channel_selection_policy</a> (<a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a> policy)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Device channel selection policy.  <a href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gad45683bddfd8a170f89280b722f7744c">nrf_gzll_device_channel_selection_policy_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga81c1cb06617bc0ceb9efa2f461d0f5c6">nrf_gzll_get_device_channel_selection_policy</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga692ed4d88a064fdf9a4e69f939582911" title="Set the Device channel selection policy.">nrf_gzll_set_device_channel_selection_policy()</a>.  <a href="group__gzll__02__api.html#ga81c1cb06617bc0ceb9efa2f461d0f5c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604">nrf_gzll_set_timeslots_per_channel</a> (uint32_t timeslots)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots that Gazell shall reside on a single channel before switching to another channel.  <a href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga815a055f876aef1dded974fae68eb976">nrf_gzll_get_timeslots_per_channel</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#gaf636a5a1aa2d4a791849de510b69a604" title="Set the number of timeslots that Gazell shall reside on a single channel before switching to another ...">nrf_gzll_set_timeslots_per_channel()</a>.  <a href="group__gzll__02__api.html#ga815a055f876aef1dded974fae68eb976"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync</a> (uint32_t timeslots)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots that a Gazell shall reside on a single channel before switching to another channel when in the "out of sync" state.  <a href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga16188f10fcefb950bc8d7f3498214bfa">nrf_gzll_get_timeslots_per_channel_when_device_out_of_sync</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga8a1bef2e6f32bd8dc55e9abde3007aed" title="Set the number of timeslots that a Gazell shall reside on a single channel before switching to anothe...">nrf_gzll_set_timeslots_per_channel_when_device_out_of_sync()</a>.  <a href="group__gzll__02__api.html#ga16188f10fcefb950bc8d7f3498214bfa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3">nrf_gzll_set_sync_lifetime</a> (uint32_t lifetime)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell Link Layer shall assume that the link is synchronized. A value of 0 implies that the link is always out of sync.  <a href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gabefa7b61295caa3d3fc1faaf594286bd">nrf_gzll_get_sync_lifetime</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga1b34f8db6bfac6c6e232c2767a260bf3" title="Set the number of timeslots after a successful reception of a Device or Host packet that the Gazell L...">nrf_gzll_set_sync_lifetime()</a>.  <a href="group__gzll__02__api.html#gabefa7b61295caa3d3fc1faaf594286bd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333">nrf_gzll_set_max_tx_attempts</a> (uint16_t max_tx_attempts)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum number of TX attempts that can be used for a single packet.  <a href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaf74cd71124b955a69d7db6ea401631c6">nrf_gzll_get_max_tx_attempts</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga6e1c4ec6c4f7acf92a97bffbb6b89333" title="Set the maximum number of TX attempts that can be used for a single packet.">nrf_gzll_set_max_tx_attempts()</a>.  <a href="group__gzll__02__api.html#gaf74cd71124b955a69d7db6ea401631c6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga1aa10efb06cf0cd2a5b197a4cd65deaa">nrf_gzll_set_channel_table</a> (uint8_t *channel_table, uint32_t size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the table of Radio Frequency (RF) channels.  <a href="group__gzll__02__api.html#ga1aa10efb06cf0cd2a5b197a4cd65deaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga803e8873a16e0379a752d6252da51fb5">nrf_gzll_get_channel_table</a> (uint8_t *channel_table, uint32_t *size)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the table of Radio Frequency (RF) channels.  <a href="group__gzll__02__api.html#ga803e8873a16e0379a752d6252da51fb5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gad8c90e87c445372cde7175b4a55d6bec">nrf_gzll_get_channel_table_size</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current channel table size.  <a href="group__gzll__02__api.html#gad8c90e87c445372cde7175b4a55d6bec"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420">nrf_gzll_set_tx_power</a> (<a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a> tx_power)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the radio TX power.  <a href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#ga838445eeb3dabb47b746708bf4cf851d">nrf_gzll_tx_power_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga48046c21e470386267c79b9ee08d5026">nrf_gzll_get_tx_power</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga5d1f1ac31b3e851935545858529e6420" title="Set the radio TX power.">nrf_gzll_set_tx_power()</a>.  <a href="group__gzll__02__api.html#ga48046c21e470386267c79b9ee08d5026"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142">nrf_gzll_set_datarate</a> (<a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a> data_rate)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the radio datarate.  <a href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gabb5224046a930344cc3f5586bf9b064a">nrf_gzll_datarate_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gac815ca7c9ad81b9193f2f1d1aa7aa302">nrf_gzll_get_datarate</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get function counterpart to <a class="el" href="group__gzll__02__api.html#ga31ea7c06c87b5068dcd39be89f390142" title="Set the radio datarate.">nrf_gzll_set_datarate()</a>.  <a href="group__gzll__02__api.html#gac815ca7c9ad81b9193f2f1d1aa7aa302"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Error handling functions</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__gzll__02__api.html#gaa51ebe606da1801bb1ce72b2257356ab">nrf_gzll_error_code_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gab36bed58f70b88b8fede5d3d8fa3f1c7">nrf_gzll_get_error_code</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Gazell error code.  <a href="group__gzll__02__api.html#gab36bed58f70b88b8fede5d3d8fa3f1c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__gzll__02__api.html#gaeeb3f4c59577bed1590267385d5e13f2">nrf_gzll_reset_error_code</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the Gazell error code.  <a href="group__gzll__02__api.html#gaeeb3f4c59577bed1590267385d5e13f2"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Gazell Link Layer API. </p>

<p>Definition in file <a class="el" href="nrf__gzll_8h_source.html">nrf_gzll.h</a>.</p>
</div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="nrf__gzll_8h.html">nrf_gzll.h</a>      </li>

    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
